package service.impl;

import java.util.List;

import dao.ProductDao;
import dao.WarehouseDao;
import dao.impl.ProductDaoImpl;
import dao.impl.WarehouseDaoImpl;
import pojo.Product;
import pojo.Warehouse;
import service.WarehouseManager;

public class WarehouseManagerImpl implements WarehouseManager {

	private WarehouseDao dao = new WarehouseDaoImpl();

	@Override
	public List<Warehouse> getAllWarehouse() {
		return dao.findAll();
	}
}
